package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.CollectionChainDealStatusEnum;
import com.sc.nft.enums.UserChainLogStatusEnum;
import com.sc.nft.sup.AnemiaModel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 藏品初始化上链记录详情表(sc_collection_chain_init_details_log)实体类
 *
 * @author Sun
 * @since 2023-04-18 14:28:42
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_collection_chain_init_details_log")
public class CollectionChainInitDetailsLog extends AnemiaModel implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 藏品id
     */
    private Long collectionId;
    /**
     * 状态 1:待执行 2:上链中 3:完成 4:失败
     */
    private UserChainLogStatusEnum status;

    /**
     *  交易状态: 0:上链中 1:可交易 2:已交易(转增)
     */
    private CollectionChainDealStatusEnum dealStatus;
    /**
     * 合约地址
     */
    private String contractAddress;
    /**
     * 合约部署交易哈希

     */
    private String deployTransactionHash;
    /**
     * 铸造交易哈希
     */
    private String transactionHash;
    /**
     * 藏品用户地址
     */
    private String userAddress;
    /**
     * 编号
     */
    private Integer numbering;
    /**
     * 藏品唯一标识
     */
    private String collectionUuid;
    /**
     * tokenId
     */
    private Integer tokenId;



}